package com.study;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@Slf4j
//@ServletComponentScan//在spring的环境搭建的服务器，要在启动类加@ServletComponentScan，开启springboot项目对Servlet的支持
@SpringBootApplication
public class BootProject1Application {

    public static void main(String[] args) {
        SpringApplication.run(BootProject1Application.class, args);
        log.info("springboot启动成功");
    }

}
